<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="index.css" />
  </head>
  <body>
    <div id="toolbar">
        <ul>
            <li><button  class="active shapeType" data="line" id="lineBtn">线条</button></li>
            <li><button  class="shapeType" data="rect" id="rectBtn">矩形</button></li>
            <li><button  class="shapeType" data="circle" id="circleBtn">圆形</button></li>
            <li><button  class="shapeType" data="fill" id="fillBtn">填充</button></li>
            <li><button  class="shapeType" data="rubber" id="rubberBtn">橡皮擦</button></li>
            <li>
                <select id="boldBtn">
                    <option>1</option>
                    <option>2</option>
                    <option>4</option>
                    <option>8</option>
                </select>
            </li>
            <li>
                <input id="colorBtn" type="color" />
            </li>
            <li><button id="clearBtn">清空画布</button></li>
            <li><button id="saveBtn">保存图片</button></li>
        </ul>
    </div>
    <div id="container"></div>

    <script src="index.js"></script>
  </body>
</html>
